package com.lyl.servicecms.service;

import com.lyl.servicecms.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-06-17
 */
public interface BannerService extends IService<Banner> {
    //查询所有banner
    List<Banner> selectAllBanner();
    boolean addBanner(Banner banner);
    boolean deleteBanner(Long id);
    boolean updateBanner(Banner banner);


    boolean updateStatusById(Long id, Boolean bannerStatus);
}
